.allot-map-nav {
  display: flex;
  justify-content: space-between;
  line-height: 36px;
  background: #fff;
  border-radius: 3px;
  padding: 12px;
  .allot-map-tip {
    margin-bottom: 0;
    color: #666;
    font-weight: 600;
  }
}
.allot-map-body {
  position: relative;
  width: 100%;
  overflow: hidden;
  .back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 99;
  }
}

.allot-map-container {
  position: relative;
  height: calc(100vh - 96px);
  .allot-map-side {
    position: absolute;
    top: 0px;
    right: -8px;
    width: 320px;
    height: 100%;
    border-left: 1px solid #e5e5e5;
    background-color: #fff;
    z-index: 9;
    transition: right 0.3s linear;
    &.shut {
      right: -320px;
    }

    .btn-side {
      z-index: 10;
      cursor: pointer;
      position: absolute;
      top: 50%;
      right: 319px;
      transform: translateY(-50%);
      border-right: none;
      width: 12px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      border-radius: 5px 0 0 5px;
      font-size: 12px;
      background-color: #fff;
    }

    .allot-map-footer {
      height: 50px;
      font-weight: 600;
      font-size: 12px;
      border-top: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      padding: 10px 18px 10px 10px;
      &-content {
        color: #fff;
        background-color: $color-primary;
        flex: 1;
        height: 30px;
        line-height: 30px;
        text-align: center;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
      }
    }
  }
}

.side-list {
  height: calc(100% - 90px);
  padding: 0 10px;
  overflow-y: scroll;
  &-header {
    height: 40px;
    line-height: 40px;
    padding: 0 18px 0 10px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
  }
  .side-list-item {
    display: flex;
    position: relative;
    padding: 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    &.isClick {
      background: #E6FFFD;
    }
    &-content {
      padding: 10px 0;
      display: flex;
      flex: 1;
      p {
        font-weight: 400;
        margin-bottom: 5px;
      }
      .customer-name {
        font-weight: bold;
        font-size: 16px;
        @include text-ellipsis();
      }
    }
    &-info {
      width: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .icon_num {
      width: 32px;
      height: 32px;
      line-height: 28px;
      text-align: center;
      color: #fff;
      font-family: tahoma;
      font-size: 12px;
      font-weight: bold;
      margin-right: 10px;
      background: url("src/assets/img/task/mapListIcon.png") no-repeat 0 0 / 96px 32px;
      &.selected {
        background: url("src/assets/img/task/mapListIcon.png") no-repeat -64px 0 / 96px 32px;
      }
    }
    .calendar-time {
      display: flex;
      align-items: center;
      justify-content: space-between;
      p{
        margin: 0;
        line-height: 22px;
      }
    }
    >p {
      margin: 0;
      line-height: 22px;
    }
    i{
      font-size: 13px;
      @include fontColor;
    }
  }
  .side-list-loadmore {
    line-height: 36px;
    text-align: center;
    a {
      color: $color-primary;
    }
  }
}

.map-mark {
  width: 32px;
  height: 32px;
  line-height: 28px;
  font-size: 12px;
  background: url("src/assets/img/task/mapListIcon.png") no-repeat 0 0px / 96px 32px;
  color: #fff;
  text-align: center;
  &.selected {
    background: url("src/assets/img/task/mapListIcon.png") no-repeat -64px 0 / 96px 32px;
  }
}

/** element-ui **/
.el-dialog__header {
  display: none !important;
}
.el-dialog__body {
  height: 100vh;
  padding: 12px;
  overflow: hidden;
  background-color: #ecf0f5;
}

/** 地图信息窗 **/
.map-mark-box {
  width: 300px;
  font-size: 13px;
  padding-top: 10px;
  padding-left: 8px;
  padding-bottom: 10px;
  a {
    color: $color-primary;
  }
}
.marktitle {
  border-bottom: 1px solid #ccc;
  margin-bottom: 3px;
  padding-bottom: 8px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
}

.map-mark-head {
  border-bottom: 1px solid #ccc;
  display: flex;
  flex-flow: row nowrap;
  padding-bottom: 5px;
  align-items: center;
}

.map-mark-head {
  a {
    font-size: 16px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .btn {
    padding: 3px 12px;
    margin-left: 5px;
  }
}

.map-mark-body {
  h3 {
    margin: 0;
    line-height: 20px;
    padding: 5px 0;
    font-size: 16px;
    font-weight: 400;
    word-break: break-all;
  }
}

.map-mark-box p {
  line-height: 20px;
  margin: 0;
  padding: 0;
}
.marktitle .mname {
  display: inline-block;
  width: 120px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.amap-info-close {
  right: 5px !important;
}

.base-modal-content{
  padding: 20px;
}

.side_list_empty {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.side-item-phone {
  display: flex;
  .biz-call-center-phone {
    margin-left: 5px;
  }
}

.side-item-time {
  i {
    margin-left: 5px;
  }
}

.need-hide-in-oversize{
  transform:translateX(-100%)
}
.amap-info-content{
  padding:20px 0 0 0 ;
}